%% Author: Administrator
%% Created: 2011-8-23
%% Description: TODO: 跨服战场配置
-module(data_war).

%%
%% Include files
%%
-include("record.hrl").

%%
%% Exported Functions
%%
-compile(export_all).

%%
%% API Functions
%%



%%
%% Local Functions
%%

%%2队对战分组表
vs(2)->
	[[{1,2}]];
%%4队对战分组表 
vs(4)->
	[[{1,2},{3,4}],
	 [{1,3},{2,4}],
	 [{1,4},{2,3}] 
	 ];
%%6队对战分组表
vs(6)->
	[[{1,2},{3,4},{5,6}],
	 [{1,3},{2,5},{4,6}],
	 [{1,4},{3,5},{2,6}],
	 [{1,5},{2,4},{3,6}],
	 [{1,6},{2,3},{4,5}]
	];
%%8队对战分组表
vs(8)->
	[[{1,2},{3,4},{5,6},{7,8}],
	 [{1,8},{2,3},{4,5},{6,7}],
	 [{1,3},{4,6},{5,7},{2,8}],
	 [{1,7},{2,4},{3,5},{6,8}],
	 [{1,4},{2,7},{3,6},{5,8}],
	 [{1,5},{2,6},{3,7},{4,8}],
	 [{1,6},{2,5},{4,7},{3,8}]
	];
vs(_)->error.